package com.itheima.service;

import com.itheima.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author wmh
 * @version 1.0 2022/6/7
 * @Description:
 **/
@Service
public class StatService {
    @Autowired
    private UserMapper userMapper;

    public List<Map> columnCharts() {
        return  userMapper.columnCharts();
    }

    public List<Map> lineCharts() {
        return  userMapper.lineCharts();
    }
}